<template>
  <div>
     <el-form :inline="true">
      <el-form-item>
        <el-input v-model="searchForm.code" placeholder="类型" clearable>
        </el-input>
      </el-form-item>

      <el-form-item>
        <el-input v-model="searchForm.type" placeholder="手机号" clearable>
        </el-input>
      </el-form-item>

      <el-form-item>
        <el-button @click.native="getDictTypeList">搜索</el-button>
      </el-form-item>

      <el-form-item>
        <el-button type="primary" @click="dictTypeAddDialogVisible = true"  v-if="hasAuth('sys:dict:save')">新增</el-button>
      </el-form-item>
      <el-form-item>
      <el-button type="text">清空</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  name: 'Dict',
  data () {
    return {
      dictTypeAddDialogVisible: false
    }
  },
  methods: {
    getDictTypeList () {

    }
  },
  created () {
    this.getDictTypeList()
  }
}
</script>
<style scoped>

</style>
